package com.example.administrator.szb.bean;
import java.util.List;

/**
 * Created by D N on 2017/9/28.
 * 我的问题
 */

public class MyAnswerBean {

    /**
     * result : 1
     * err_code : 0
     * err_msg :
     * data : [{"answer_count":0,"collect_count":0,"headimg":"http://106.15.194.111/uploads/1506478457.jpg","attention":0,"hot_count":0,"business":[{"title":"股票质押","font_color":"#2850d9","pivot":{"id":199,"refer_id":152,"business_id":109}},{"title":"大宗减持","font_color":"#3c3c33","pivot":{"id":200,"refer_id":152,"business_id":118}},{"title":"企业理财","font_color":"#ffffff","pivot":{"id":201,"refer_id":152,"business_id":120}},{"title":"信用贷款","font_color":"#fafafa","pivot":{"id":202,"refer_id":152,"business_id":127}}],"is_collect":0,"company":"","name":"183****76","is_me":1,"title":"山东","content":"张艺兴","create_time":"2天前","id":152,"quiz_id":28}]
     */

    private int result;
    private int err_code;
    private String err_msg;
    private List<DataBean> data;

    public int getResult() {
        return result;
    }

    public void setResult(int result) {
        this.result = result;
    }

    public int getErr_code() {
        return err_code;
    }

    public void setErr_code(int err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * answer_count : 0
         * collect_count : 0
         * headimg : http://106.15.194.111/uploads/1506478457.jpg
         * attention : 0
         * hot_count : 0
         * business : [{"title":"股票质押","font_color":"#2850d9","pivot":{"id":199,"refer_id":152,"business_id":109}},{"title":"大宗减持","font_color":"#3c3c33","pivot":{"id":200,"refer_id":152,"business_id":118}},{"title":"企业理财","font_color":"#ffffff","pivot":{"id":201,"refer_id":152,"business_id":120}},{"title":"信用贷款","font_color":"#fafafa","pivot":{"id":202,"refer_id":152,"business_id":127}}]
         * is_collect : 0
         * company :
         * name : 183****76
         * is_me : 1
         * title : 山东
         * content : 张艺兴
         * create_time : 2天前
         * id : 152
         * quiz_id : 28
         */

        private int answer_count;
        private int collect_count;
        private String headimg;
        private int attention;
        private float hot_count;
        private int is_collect;
        private String company;
        private String name;
        private int is_me;
        private String title;
        private String content;
        private String create_time;
        private int id;
        private int quiz_id;
        private List<BusinessBean> business;

        private boolean isChoose;
        private int isShowCheckBod = 1;//默认不显示

        public int getAnswer_count() {
            return answer_count;
        }

        public void setAnswer_count(int answer_count) {
            this.answer_count = answer_count;
        }

        public int getCollect_count() {
            return collect_count;
        }

        public void setCollect_count(int collect_count) {
            this.collect_count = collect_count;
        }

        public String getHeadimg() {
            return headimg;
        }

        public void setHeadimg(String headimg) {
            this.headimg = headimg;
        }

        public int getAttention() {
            return attention;
        }

        public void setAttention(int attention) {
            this.attention = attention;
        }

        public float getHot_count() {
            return hot_count;
        }

        public void setHot_count(float hot_count) {
            this.hot_count = hot_count;
        }

        public int getIs_collect() {
            return is_collect;
        }

        public void setIs_collect(int is_collect) {
            this.is_collect = is_collect;
        }

        public String getCompany() {
            return company;
        }

        public void setCompany(String company) {
            this.company = company;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getIs_me() {
            return is_me;
        }

        public void setIs_me(int is_me) {
            this.is_me = is_me;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public String getCreate_time() {
            return create_time;
        }

        public void setCreate_time(String create_time) {
            this.create_time = create_time;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getQuiz_id() {
            return quiz_id;
        }

        public void setQuiz_id(int quiz_id) {
            this.quiz_id = quiz_id;
        }

        public List<BusinessBean> getBusiness() {
            return business;
        }

        public void setBusiness(List<BusinessBean> business) {
            this.business = business;
        }

        public boolean isChoose() {
            return isChoose;
        }

        public void setChoose(boolean choose) {
            isChoose = choose;
        }

        public int getIsShowCheckBod() {
            return isShowCheckBod;
        }

        public void setIsShowCheckBod(int isShowCheckBod) {
            this.isShowCheckBod = isShowCheckBod;
        }

        public static class BusinessBean {
            /**
             * title : 股票质押
             * font_color : #2850d9
             * pivot : {"id":199,"refer_id":152,"business_id":109}
             */

            private String title;
            private String font_color;
            private PivotBean pivot;

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getFont_color() {
                return font_color;
            }

            public void setFont_color(String font_color) {
                this.font_color = font_color;
            }

            public PivotBean getPivot() {
                return pivot;
            }

            public void setPivot(PivotBean pivot) {
                this.pivot = pivot;
            }

            public static class PivotBean {
                /**
                 * id : 199
                 * refer_id : 152
                 * business_id : 109
                 */

                private int id;
                private int refer_id;
                private int business_id;

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }

                public int getRefer_id() {
                    return refer_id;
                }

                public void setRefer_id(int refer_id) {
                    this.refer_id = refer_id;
                }

                public int getBusiness_id() {
                    return business_id;
                }

                public void setBusiness_id(int business_id) {
                    this.business_id = business_id;
                }
            }
        }
    }
}
